﻿@model bool?

@if(Model.HasValue && Model.Value)
{
    <input type="radio" name="gender" value="true" checked="checked"/> @: Nam
    <input type="radio" name="gender" value="false"/> @: Nữ
}
else
{
    <input type="radio" name="gender" value="true"/> @: Nam
    <input type="radio" name="gender" value="false" checked="checked"/> @: Nữ  
}
